package com.qqhf.hitfood.bean.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "biz_order_comment")
public class BizOrderComment implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 评价
     */
    @ApiModelProperty(value = "评价", position = 6)
    private String comment;
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id", position = 1)
    private Integer id;
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id", position = 4)
    private Integer orderId;
    /**
     * 评分
     */
    @ApiModelProperty(value = "评分", position = 5)
    private Integer score;
    /**
     * 店铺id
     */
    @ApiModelProperty(value = "店铺id", position = 3)
    private Integer shopId;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", position = 2)
    private Integer userId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 7)
    private Timestamp createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间", position = 8)
    private Timestamp modifyTime;
}
